import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from "element-ui";
import echarts from "echarts";
import vuescroll from "vuescroll";
import "element-ui/lib/theme-chalk/index.css";

//svg图标样式
import "./assets/iconfont/iconfont";
import "./assets/iconfont/iconfont.css";
Vue.use(ElementUI);
Vue.use(vuescroll); // install the vuescroll first
Vue.prototype.$vuescrollConfig = {
  bar: {
    background: "rgba(0,0,0,0.3)"
  }
};
Vue.config.productionTip = false;

Vue.prototype.$echarts = echarts;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
